package com.itheima.reggie.common;


import lombok.Data;

@Data
public class LocationThread {

    private static ThreadLocal<Long> threadLocal = new ThreadLocal<>();

    public static Long getThreadData() {
       return threadLocal.get();
    }
    public static void setThreadData(Long data) {
        threadLocal.set(data);
    }
}
